#ifndef VTSRADARMANAGERWIDGET_H
#define VTSRADARMANAGERWIDGET_H

#include <QWidget>
#include "GeneratedFiles/ui_VtsRadarManagerWidget.h"
#include "../Radarmanager/VtsRadar/VtsRadarController.h"
#include "radar_widget_base.h"

class VtsRadarManagerWidget : public RadarWidgetBase
{
    Q_OBJECT

public:
    VtsRadarManagerWidget(QWidget *parent = nullptr);
    ~VtsRadarManagerWidget();

    void Init();
public slots:
    void RadioButtonClicked();
    void MsgSlot(const std::string& str, unsigned int radar_key);
    void SliderValueChanged(int);
    void SetRotatingSpeed();
    void WorkFre(int);
    void MaxWaveChanged(double);
    void RadarShader(bool);

private:
    void GetAngle(QDoubleSpinBox *first, QDoubleSpinBox *second, double &first_val, double &second_val);

private:
    Ui::RadarManagerWidget ui;

    VtsRadarController m_radar_controller;
};

#endif // VTSRADARMANAGERWIDGET_H
